<!--{foreach from=$menu_tree item=menu1 key=k}-->
<div class="subnav">
    <div class="subnav-title first-subnav">
        <a href="<!--{$menu1.onclick|default:'javascript:void(0);'}-->" class='toggle-subnav'>
            <span class="first_icon"><img src="/quanliadmin/docroot/templates/images/brand/sm_pic<!--{$menu1.pic}-->.png"></span>
            <span><!--{$menu1.caption}--></span>
            <i class="icon-angle-down"></i>
        </a>
    </div>
    <!--{if isset($menu1.sub_menus)}-->
    <ul class="subnav-menu second-subnav" style="display: none;">
        <!--{foreach from=$menu1.sub_menus item=menu2}-->
        <li>
            <div class="subnav-title second-subnav">
                <!--{if $menu2.onclick}-->
                <a href="javascript:void(0)" url="/<!--{$menu2.onclick}-->" permission_id="<!--{$menu2.permission_id}-->" class='toggle-subnav menu_tb_a'><i></i><span><!--{$menu2.caption}--></span></a>
                <!--{else}-->
                <a href="javascript:void(0);" class='toggle-subnav'><i class="icon-angle-down"></i><span><!--{$menu2.caption}--></span></a>
                <!--{/if}-->
            </div>
            <!--{if isset($menu2.sub_menus)}-->
            <ul class="subnav-menu third-subnav" style="display:none;">
                <!--{foreach from=$menu2.sub_menus item=menu3}-->
                <li>
                    <!--{if $menu3.onclick}-->
                    <a href="javascript:void(0)" url="/<!--{$menu3.onclick}-->" permission_id="<!--{$menu2.permission_id}-->" class="menu_tb_a"><!--{$menu3.caption}--></a>
                    <!--{else}-->
                    <a href="javascript:void(0);" class="menu_tb_a"><!--{$menu3.caption}--></a>
                    <!--{/if}-->
                </li>
                <!--{/foreach}-->
            </ul>
            <!--{/if}-->
        </li>
        <!--{/foreach}-->
    </ul>
    <!--{/if}-->
</div>
<!--{/foreach}-->